package com.netposa.datawarehouse.aggregator.client;

import com.netposa.appwebres.common.WebResInfo;
import com.netposa.datawarehouse.aggregator.thirdService.NoAuthFeignConfiguration;
import com.netposa.datawarehouse.aggregator.web.model.DeviceTreeCondition;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(
   name = "search-service",
   configuration = {NoAuthFeignConfiguration.class}
)
public interface DeviceServiceFeign {
   @RequestMapping(
      value = {"/v2/deviceobj/by"},
      method = {RequestMethod.POST}
   )
   WebResInfo staypoint(DeviceTreeCondition var1);
}
